#include <stdio.h>
#define N 7
/**
input string a:  Iloveyou
input string b:  !!!!!!!
new string is: Iloveyou!!!!!!!
don't use the method strcat;
 */
int main(){
    char s1[20],s2[20],s3[40];
    int i=0,j=0;
    printf("Input String A：");
    scanf("%s",s1);
    getchar();
    printf("Input String B：");
    scanf("%s",s2);
    while (s1[i])
    {
        s3[i] = s1[i];
        i++;
    }
    while (s2[j])
    {
        s3[i+j] = s2[j];
        j++;
    }
    s3[i+j] = '\0';
    printf("New String is:%s",s3);
    return 0;
}